package com.liuhaoqi.raletiveblog.entity;

import java.util.Date;

public class Comment {
    private Long commentid;

    private String nickname;

    private String email;

    private String conmentcontent;

    private String avatar;

    private Date updateTime;

    private Long blogId;

    private Date createTime;

    private String location;

    private String master;

    private Long parentCommentId;

    private String respondent;

    public String getRespondent() {
        return respondent;
    }

    public void setRespondent(String respondent) {
        this.respondent = respondent;
    }

    public Comment(Long commentid, String nickname, String email, String conmentcontent, String avatar, Date updateTime, Long blogId, Date createTime, String location, String master, Long parentCommentId,String respondent) {
        this.commentid = commentid;
        this.nickname = nickname;
        this.email = email;
        this.conmentcontent = conmentcontent;
        this.avatar = avatar;
        this.updateTime = updateTime;
        this.blogId = blogId;
        this.createTime = createTime;
        this.location = location;
        this.master = master;
        this.parentCommentId = parentCommentId;
        this.respondent=respondent;
    }

    public Comment() {
        super();
    }

    public Long getCommentid() {
        return commentid;
    }

    public void setCommentid(Long commentid) {
        this.commentid = commentid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getConmentcontent() {
        return conmentcontent;
    }

    public void setConmentcontent(String conmentcontent) {
        this.conmentcontent = conmentcontent == null ? null : conmentcontent.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getMaster() {
        return master;
    }

    public void setMaster(String master) {
        this.master = master == null ? null : master.trim();
    }

    public Long getParentCommentId() {
        return parentCommentId;
    }

    public void setParentCommentId(Long parentCommentId) {
        this.parentCommentId = parentCommentId;
    }
}